<style type="text/css">
    .menubar{
        list-style: none;
    }
    .menubar li{
        /*float: left;*/
        margin: 20px;
    }
</style>
<ul class="menubar">
    <li>
        <a [routerLink]="['Home']">Home</a>
    </li>
    <li>
        <a [routerLink]="['Contact']">Contact</a>
    </li>
    <li>
        <a href="javascript:;" [routerLink]="['About']">About</a>
    </li>
</ul>
<!--告诉ng2 Component 的内容显示在下方-->
<router-outlet></router-outlet>
